import request from '@/utils/request'

// 查询例题解析审核列表
export function listExampleSubjectAnalysisAudit(query) {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit/list',
    method: 'get',
    params: query
  })
}

// 查询例题解析审核详细
export function getExampleSubjectAnalysisAudit(id) {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit/' + id,
    method: 'get'
  })
}

// 新增例题解析审核
export function addExampleSubjectAnalysisAudit(data) {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit',
    method: 'post',
    data: data
  })
}

// 修改例题解析审核
export function updateExampleSubjectAnalysisAudit(data) {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit',
    method: 'put',
    data: data
  })
}

// 删除例题解析审核
export function delExampleSubjectAnalysisAudit(id) {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit/' + id,
    method: 'delete'
  })
}

// 导出例题解析审核
export function exportExampleSubjectAnalysisAudit(query) {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit/export',
    method: 'get',
    params: query
  })
}
//审核成功
export function AnalysisConsent(data) {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit/AnalysisConsent/',
    method: 'put',
data: data
  })
}

//审核驳回
export function Analysiseject(data) {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit/AnalysisReject/' ,
    method: 'put',
    data: data
  })
}
export function selectClName(clusteName){
  return request({
    url: '/receipt/exampleSubjectManager/listName/' + clusteName,
    method: 'get',
  })
}
export function konwlegName(konwlegName) {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit/konwlegName/' +konwlegName,
    method: 'get',
  })
}
export function selectManageList() {
  return request({
    url: '/receipt/exampleSubjectAnalysisAudit/selectManageList' ,
    method: 'get',
  })
}
